#ifndef CLASSDIAGRAMMDOCK_H
#define CLASSDIAGRAMMDOCK_H

#include <QDockWidget>
#include <QVBoxLayout>
#include <QPushButton>
#include <QDrag>
#include <QMimeData>
#include <QByteArray>

class ClassDiagrammDock : public QDockWidget
{
    Q_OBJECT
public:
    ClassDiagrammDock(QWidget *parent = 0);
    ~ClassDiagrammDock();

private:
    QWidget _widget;
    QBoxLayout *_layout;

    void initItemBar();
    QString buttonStyle();

    QList<QPushButton*> _buttons;

private slots:
    void createNewClass();
    void createNewAbstractClass();
    void createNewInterface();
    void createNewPackage();
};

#endif // CLASSDIAGRAMMDOCK_H
